package com.tsing.cedap.rest.service;

import com.tsing.cedap.common.vo.BasePageVo;
import com.tsing.cedap.common.vo.PageResult;
import com.tsing.cedap.rest.vo.reqVo.CodeReqVo;
import com.tsing.cedap.rest.vo.reqVo.MiniUpdateAddressReqVo;
import com.tsing.cedap.rest.vo.reqVo.TradeReqVo;
import com.tsing.cedap.rest.vo.respVo.*;

import javax.servlet.http.HttpServletRequest;

/**
 * @author TheTsing
 * @create 2022-01-27 9:41
 */
public interface IMiniAboutMeService {

    MiniGetUserInfoRespVo miniUserInfo(HttpServletRequest request);

    MiniGetBalanceRespVo miniGetBalance(HttpServletRequest request);

    PageResult<MiniGetAccountPageRespVo> miniGetAccountPage(BasePageVo reqVo, HttpServletRequest request);

    PageResult<MiniGetAddressPageRespVo> miniGetAddressPage(BasePageVo reqVo, HttpServletRequest request);

    MiniGetAddressByIdRespVo miniGetAddressById(CodeReqVo reqVo);

    String miniAddAddress(MiniUpdateAddressReqVo reqVo, HttpServletRequest request);

    void miniUpdateAddress(MiniUpdateAddressReqVo reqVo, HttpServletRequest request);

    String toPayAsPc(TradeReqVo reqVo, HttpServletRequest request);

    String toPayAsPhone(TradeReqVo reqVo, HttpServletRequest request);

    String aliPayNotify(HttpServletRequest request);

}
